<%-- 
    Document   : listeDeps
    Created on : 12 nov. 2013, 14:36:06
    Author     : ltata
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <jsp:include page="entete.jsp" />
        <div id="contenu">
            <div class="corpsForm">
                <fieldset>
                    <legend>Choisir les medecins par departement</legend>
                    <form action="Control?action=pardep" method="post">
                        <select name="choix">
                            <c:forEach var='deps' items ='${lesDeps}'> 
                                <option  value=${deps.num}>${deps.num}</option>
                            </c:forEach>
                        </select>
                        <input id="ok" type="submit" value="Envoyez" />
                    </form>
                </fieldset>
                <fieldset><legend>Choisir les medecins par lettre</legend>
                    <form action="Control?action=parnom" method="post">
                        <input type="text" name="nom"><br/>
                        <input id="ok" type="submit" value="Envoyez" />
                    </form>
                </fieldset>
                <fieldset>
                    <legend>Choisir les medecins par spécialité</legend>
                    <form action="Control?action=parspe" method="post">
                        <select name="choix">
                            <c:forEach var='specialite' items ='${lesSpes}'> 
                                <option  value=${specialite.nom}>${specialite.nom}</option>
                            </c:forEach>
                        </select>
                        <input id="ok" type="submit" value="Envoyez" />
                    </form>
                </fieldset>
                </form>
            </div>
        </div>
    </body>
</html>
